package com.rent.auth.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class AuthToken implements Serializable {

    //令牌信息
    @ApiModelProperty(value = "令牌信息")
    private String accessToken;

    //刷新token(refresh_token)
    @ApiModelProperty(value = "刷新令牌")
    private String refreshToken;

    //jwt短令牌
    @ApiModelProperty(value = "用户唯一标识")
    private String jti;

    @ApiModelProperty(value = "token头部标识")
    private String header;

    @ApiModelProperty(value = "过期时间")
    private Long expires;

    @ApiModelProperty(value = "令牌描述")
    private String description;

}